package org.jeecg.modules.charge.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.charge.entity.ChargeTaxControlPanel;
import org.jeecg.modules.charge.vo.CheckOutMangroup;

import java.util.List;
import java.util.Map;

/**
 * @Description: 开票项目
 * @Author: jeecg-boot
 * @Date:   2019-07-11
 * @Version: V1.0
 */
public interface ChargeTaxControlPanelMapper extends BaseMapper<ChargeTaxControlPanel> {

    List<ChargeTaxControlPanel> listByParams(@Param("page") Page<ChargeTaxControlPanel> page, @Param("chargeTaxControlPanel")ChargeTaxControlPanel chargeTaxControlPanel);

    /**
     *  收费项目重复检查SQL
     * @return
     */
    public Long duplicateCheckCountSql(CheckOutMangroup checkOutMangroup);
    public Long duplicateCheckCountSqlNoDataId(CheckOutMangroup checkOutMangroup);
}
